package utils 
{
	/**
	 * ...
	 * @author Dmitry Hayduk
	 */
	public class Logger 
	{
		
		
		public function Logger() 
		{
			
		}
		

		public static function log(sender:Object, message:String):void
		{
			if (sender != null)
			{
				trace(sender.constructor + ": " + message);
				//ErrorsCollector.collectError(sender.constructor + ": " + message);
			}else
			{
				trace("<No sender>: " + message);
				//ErrorsCollector.collectError("<No sender>: " + message);
			}
		}
		
	}

}